#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)

#include <stdio.h>
#include <string.h>

int main()
{
	char str1[20] = { "zhao..jian.guo" };
	char str2[1000] = { "zhao.jian.guo" };
	char* p = ".";
	char* s = NULL;
	s = strtok(str1, p);
	printf("%s ", s);
	s = strtok(NULL, p);
	printf("%s ", s);
	s = strtok(str2, p);
	printf("%s ", s);

	return 0;
}